projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e71030
)
(isearch-other-meta-char): Don't switch windows to exit
author
Richard M. Stallman
<rms@gnu.org>
Mon, 4 Aug 1997 05:09:49 +0000
(
05:09
+0000)
committer
Richard M. Stallman
<rms@gnu.org>
Mon, 4 Aug 1997 05:09:49 +0000
(
05:09
+0000)
if that would switch to an inactive minibuffer.
lisp/isearch.el
patch
|
blob
|
history
diff --git
a/lisp/isearch.el
b/lisp/isearch.el
index 7053e63786538ed4fecab22ecb75998b4e4f2319..a0b269678bce014781f7e0c8ae213c748d525661 100644
(file)
--- a/
lisp/isearch.el
+++ b/
lisp/isearch.el
@@
-1149,7
+1149,9
@@
and the meta character is unread so that it applies to editing the string."
;; is in isearch mode. So end the search in that buffer.
(if (and (listp main-event)
(setq window (posn-window (event-start main-event)))
- (windowp window))
+ (windowp window)
+ (or (> (minibuffer-depth) 0)
+ (not (window-minibuffer-p window))))
(save-excursion
(set-buffer (window-buffer window))
(isearch-done)